import http from  "./common/js/http";
import { onAuthAppBack } from "dingtalk-design-libs/biz/openAuthMiniApp";

App({
  globaldata: {
    serveurl: ""
  },
 
  onLaunch(options) {

   
  },
  onShow(options) {
    // 从后台被 scheme 重新打开
    // options.query == {number:1}
      onAuthAppBack(options, (data) => {
        // 这里可以对返回数据做二次处理，之后需要把数据返回到page.onShow
        // dd.alert({
        //     title: 'app is onAppShow have data ：' + JSON.stringify(data),
        // });
        return data;
    });

  }
});

